//
//  DataSingleton.h
//  EveryEnglish
//
//  Created by user on 14-6-6.
//  Copyright (c) 2014年 mxy. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SynthesizeSingleton.h"

@interface DataSingleton : NSObject

DEFINE_SINGLETON_FOR_HEADER(DataSingleton);



@property(nonatomic,copy) NSString *phone;
@property(nonatomic,copy) NSString *password;


//提现密码支付
@property(nonatomic,strong) NSString *TXMM;



//单独计算出来的地址如（上海市上海市虹口区）
@property(nonatomic,strong) NSString *newdizhi;

//运费
@property(nonatomic,strong) NSArray *yunfeiArray;
@property(nonatomic,copy) NSString *latitude;
@property(nonatomic,copy) NSString *longtitude;
@property(nonatomic,copy) NSString *name;
@property(nonatomic,copy) NSString *diqu;
@property(nonatomic,copy) NSString *shichang;
@property(nonatomic,copy) NSString *dizhi;
@property(nonatomic,copy) NSString *fanwei;
@property(nonatomic,copy) NSString *jiage;
@property(nonatomic,copy) NSString *juli;
@property(nonatomic,copy) NSString *juli2;
@property(nonatomic,copy) NSString *yunfei;
@property(nonatomic,copy) NSString *dianshu;
@property(nonatomic,copy) NSString *zjyunfei;
@property(nonatomic,copy) NSString *shen;
@property(nonatomic,copy) NSString *shi;
@property(nonatomic,copy) NSString *qu;
@property(nonatomic,copy) NSString *code;






@property(nonatomic,copy) NSString *password2;

//市场数组
@property(nonatomic,copy) NSArray *shichanglist;
//账户账号
@property(nonatomic,copy) NSString *bank_account;




//获得deviceToken的值
@property(nonatomic,copy) NSString *deviceToken;
@property(nonatomic,copy) NSString *channelid;
@property(nonatomic,copy) NSString *userid;
//获取登录的所有数据进行保存
@property(nonatomic,copy) NSMutableDictionary *userDic;
//增加存储token
@property(nonatomic,copy) NSString *uToken;
@property(nonatomic,strong) NSMutableArray *addressArray;
@property(nonatomic,strong) NSMutableDictionary *orderDic;
@property (nonatomic,assign)  BOOL isHeadSet;


@property(nonatomic,strong) NSDictionary *notifyUserInfo;

- (NSString *)dataFilePath:(NSString *)fileName;
- (id)getLocalData:(NSString * )key;
- (void)saveLocalData:(NSString *)key value:(id)value;
- (void)removeLocalData:(NSString *) key;
- (void)removeLocalFile:(NSString *) path;
- (NSString *) timeString;

@end
